<?php
App::uses('Gyujto', 'Model');

class GyujtoTest extends CakeTestCase {
	public $fixtures = array('app.gyujto');

	public function setUp() {
		parent::setUp();
		$this->Gyujto = ClassRegistry::init('Gyujto');
	}

	public function tearDown() {
		unset($this->Gyujto);

		parent::tearDown();
	}

	public function testGetIdByNev() {
		$actual = $this->Gyujto->getIdByNev('Sindhu dasi');
		$expected = 4;
		$this->assertEquals($expected, $actual);
	}
}
